<template>
  <div class="box">
    <h2>child子组件</h2>
    {{username}}
    <hr>
    <input v-model="username">
    <h3>person:对象类型</h3>
    {{person}}
    <input v-model="person.username">
  </div>
</template>

<script>
export default {
  props: ["username",'person'],
  data() {
    return {};
  },
};
</script>

<style>
</style>